<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%-- 引入C标签 --%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div>
    <form method="post" action="login">
        <div>
            <label>用户名:</label> <input name="userName" type="text">
        </div>

        <div>
            <label>密码:</label> <input name="passwd" type="password">
        </div>

        <div>
            <input value="登录" type="submit">
            <a href="register.html">前往注册</a>
        </div>
    </form>
</div>
</body>
</html>